import request from "@/utils/request";

export function getQualityTestList(params) {
  return request({
    url: "/quality_test/list",
    method: "get",
    params
  });
}

export function deleteQualityTest(id) {
  return request({
    url: '/quality_test/del',
    method: 'post',
    data:{
      id
    }
  })
}

export function queryChart(id) {
  return request({
    url: `/quality_test/chart/${id}`,
    method: 'post',
  })
}